package com.boy.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author whd
 * @since 2024-06-06
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_code")
@ApiModel(value="Code对象", description="")
public class Code implements Serializable {

    private static final long serialVersionUID = 1L;

    private String email;

    private String code;
    @TableField(fill = FieldFill.INSERT)
    private Date created;

    @ApiModelProperty(value = "0未使用，1使用过")
    private Integer used;

}
